home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Programming / AMOSList / AMOSLIST / text0328.txt < prev    next >
Encoding:
Text File  |  1998-04-01  |  1.3 KB  |  31 lines

  1. > Sorry  Jens Vang Petersen  and  Alastair Murray, but i'am using the Text 
  2. > command and not the Print command, but is there a way to get the textzone
  3. > command to work with the Text command???
  4.  
  5. Use the same technique I said except use Text Length(T$) to get the
  6. width in pixels of the text.
  7. Remember that if the font has height H and you do Text X,Y,A$
  8. Then the top left of the text is at X,Y-H and the bottom right is at
  9. X+Text Length(A$),Y.
  10. Just set a zone to these coords.
  11.  
  12. -Murray
  13.  
  14. --
  15.  
  16.  Alastair  \\|//   malcolm.murray@virgin.net
  17.   Murray   (o o)      http://freespace.virgin.net/malcolm.murray
  18. |~~~~~~oOOo~(_)~oOOo~~~~|~~~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~|
  19. | ---===ON AMINET===--- |dev/misc/Backbone | --==IN PRODUCTION==--  |
  20. |  game/shoot/Hanger18  |game/shoot/Traitor|    The Turtleminator   |
  21. |game/jump/BananaIslands|  game/role/CHAOS |       Hangar 18 II     |
  22. |  game/shoot/Extinct   | game/jump/Blobby | Backbone - Game Creator|
  23. |   dev/amos/KeyState   | dev/amos/PicPack |Star Trek - BORG Assault|
  24. |  pix/nicon/TrekNIcons | game/shoot/XII   |                        |
  25. | game/shoot/KillEmAll  |                  |                        |
  26. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  27. Man shall never reach the moon, for such a quantity of gunpowder would
  28. be needed as to gravely injure the crew - Children's Encyclopedia 1926
  29.  
  30.  
  31.